import Vue from 'vue'
import Router from 'vue-router'
import updateUI from '@/components/updateUI/updateUI'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'landing-page',
      component: require('@/components/mainPage/mainPage').default,
    },
    {
      path: '/updateUI',
      name: 'updateUI',
      component: updateUI
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
